/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package alcatelparser.modules;

import java.io.InputStream;

/**
 *
 * @author geniuz
 */
public class I {
    public I()
    {
    }

    public static final synchronized String I(int i)
    {
        int j = i & 0xff;
        if(close[j] != i)
        {
            close[j] = i;
            if(i < 0)
                i &= 0xffff;
            String s = (new String(COWY, i, COWY[i - 1] & 0xff)).intern();
            append[j] = s;
        }
        return append[j];
    }

    static byte COWY[];
    static String append[] = new String[256];
    static int close[] = new int[256];

    static 
    {
        try
        {
            InputStream inputstream = (new I()).getClass().getResourceAsStream("" + 'I' + '.' + 'g' + 'i' + 'f');
            if(inputstream != null)
            {
                int i = inputstream.read() << 16 | inputstream.read() << 8 | inputstream.read();
                COWY = new byte[i];
                int j = 0;
                byte byte0 = (byte)i;
                byte abyte0[] = COWY;
                while(i != 0) 
                {
                    int k = inputstream.read(abyte0, j, i);
                    if(k == -1)
                        break;
                    i -= k;
                    for(k += j; j < k; j++)
                        abyte0[j] ^= byte0;

                }
                inputstream.close();
            }
        }
        catch(Exception exception) { }
    }

}
